/*    */ package irdc.ex03_15;
/*    */ 
/*    */ import android.app.Activity;
import android.content.Context;
import android.os.Bundle;
import android.view.View;
import android.view.ViewGroup;
import android.widget.BaseAdapter;
import android.widget.Gallery;
import android.widget.ImageView;
import android.widget.TextView;
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ public class Z extends Activity
/*    */ {
/*    */   private TextView q;
/*    */ 
/*    */   public void onCreate(Bundle savedInstanceState)
/*    */   {
/* 23 */     super.onCreate(savedInstanceState);
/* 24 */     setContentView(2130903042);
/* 25 */     this.q = ((TextView)findViewById(2131296265));
/* 26 */     this.q.setText(getString(2131165187));
/* 27 */     this.q.setTextColor(-16776961);
/*    */   }
/*    */ 
/*    */   public class Code extends BaseAdapter
/*    */   {
/*    */     private Context r;
/* 35 */     private int[] u = { 
/* 36 */       17301511, 17301513, 
/* 37 */       17301536, 
/* 38 */       17301559, 
/* 39 */       17301514 };
/*    */ 
/*    */     public Code(Context c)
/*    */     {
/* 44 */       this.r = c;
/*    */     }
/*    */ 
/*    */     public int getCount()
/*    */     {
/* 49 */       return this.u.length;
/*    */     }
/*    */ 
/*    */     public Object getItem(int position)
/*    */     {
/* 54 */       return Integer.valueOf(position);
/*    */     }
/*    */ 
/*    */     public long getItemId(int position)
/*    */     {
/* 59 */       return position;
/*    */     }
/*    */ 
/*    */     public View getView(int position, View convertView, ViewGroup parent)
/*    */     {
/* 64 */       ImageView i = new ImageView(this.r);
/* 65 */       i.setImageResource(this.u[position]);
/* 66 */       i.setScaleType(ImageView.ScaleType.FIT_XY);
/* 67 */       i.setLayoutParams(new Gallery.LayoutParams(120, 120));
/* 68 */       return i;
/*    */     }
/*    */ 
/*    */     public float This(boolean focused, int offset)
/*    */     {
/* 73 */       return Math.max(0.0F, 1.0F / (float)Math.pow(2.0D, Math.abs(offset)));
/*    */     }
/*    */   }
/*    */ }

/* Location:           I:\myapk\TelLib\
 * Qualified Name:     irdc.ex03_15.Z
 * JD-Core Version:    0.6.2
 */